package com.tsing.pojo.vo;

/**
 * @auth 卢孝宇
 * @date 2023/12/11 18:35
 */
public class PostDetailsVO {
    //帖子id
    private Long postId;
    //用户id
    private Long userId;
    //帖子评论id关联
    private Long detailsId;
    //帖子标题
    private String title;
    //帖子图片
    private String image;
    //点赞数
    private Long likeCount;
    //频道id
    private Long channelId;
    //发布日期
    private String createDate;
    //发布地址
    private String address;
    //文案
    private String Copywriting;
    //状态
    private Long status;
    //用户名
    private String userName;
    //用户头像
    private String userImage;
    //是否关注
    private Boolean flag;
    //是否点赞该作品
    private Boolean ifLove;
    //是否收藏该作品
    private Boolean ifCollect;
    //收藏数
    private Integer collectCount;
    private String msg;


    public PostDetailsVO() {
    }

    public PostDetailsVO(Long postId, Long userId, Long detailsId, String title, String image, Long likeCount, Long channelId, String createDate, String address, String Copywriting, Long status, String userName, String userImage, Boolean flag, Boolean ifLove, Boolean ifCollect, Integer collectCount, String msg) {
        this.postId = postId;
        this.userId = userId;
        this.detailsId = detailsId;
        this.title = title;
        this.image = image;
        this.likeCount = likeCount;
        this.channelId = channelId;
        this.createDate = createDate;
        this.address = address;
        this.Copywriting = Copywriting;
        this.status = status;
        this.userName = userName;
        this.userImage = userImage;
        this.flag = flag;
        this.ifLove = ifLove;
        this.ifCollect = ifCollect;
        this.collectCount = collectCount;
        this.msg = msg;
    }

    /**
     * 获取
     * @return postId
     */
    public Long getPostId() {
        return postId;
    }

    /**
     * 设置
     * @param postId
     */
    public void setPostId(Long postId) {
        this.postId = postId;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return detailsId
     */
    public Long getDetailsId() {
        return detailsId;
    }

    /**
     * 设置
     * @param detailsId
     */
    public void setDetailsId(Long detailsId) {
        this.detailsId = detailsId;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return image
     */
    public String getImage() {
        return image;
    }

    /**
     * 设置
     * @param image
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * 获取
     * @return likeCount
     */
    public Long getLikeCount() {
        return likeCount;
    }

    /**
     * 设置
     * @param likeCount
     */
    public void setLikeCount(Long likeCount) {
        this.likeCount = likeCount;
    }

    /**
     * 获取
     * @return channelId
     */
    public Long getChannelId() {
        return channelId;
    }

    /**
     * 设置
     * @param channelId
     */
    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    /**
     * 获取
     * @return createDate
     */
    public String getCreateDate() {
        return createDate;
    }

    /**
     * 设置
     * @param createDate
     */
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return Copywriting
     */
    public String getCopywriting() {
        return Copywriting;
    }

    /**
     * 设置
     * @param Copywriting
     */
    public void setCopywriting(String Copywriting) {
        this.Copywriting = Copywriting;
    }

    /**
     * 获取
     * @return status
     */
    public Long getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return userImage
     */
    public String getUserImage() {
        return userImage;
    }

    /**
     * 设置
     * @param userImage
     */
    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    /**
     * 获取
     * @return flag
     */
    public Boolean getFlag() {
        return flag;
    }

    /**
     * 设置
     * @param flag
     */
    public void setFlag(Boolean flag) {
        this.flag = flag;
    }

    /**
     * 获取
     * @return ifLove
     */
    public Boolean getIfLove() {
        return ifLove;
    }

    /**
     * 设置
     * @param ifLove
     */
    public void setIfLove(Boolean ifLove) {
        this.ifLove = ifLove;
    }

    /**
     * 获取
     * @return ifCollect
     */
    public Boolean getIfCollect() {
        return ifCollect;
    }

    /**
     * 设置
     * @param ifCollect
     */
    public void setIfCollect(Boolean ifCollect) {
        this.ifCollect = ifCollect;
    }

    /**
     * 获取
     * @return collectCount
     */
    public Integer getCollectCount() {
        return collectCount;
    }

    /**
     * 设置
     * @param collectCount
     */
    public void setCollectCount(Integer collectCount) {
        this.collectCount = collectCount;
    }

    /**
     * 获取
     * @return msg
     */
    public String getMsg() {
        return msg;
    }

    /**
     * 设置
     * @param msg
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String toString() {
        return "PostDetailsVO{postId = " + postId + ", userId = " + userId + ", detailsId = " + detailsId + ", title = " + title + ", image = " + image + ", likeCount = " + likeCount + ", channelId = " + channelId + ", createDate = " + createDate + ", address = " + address + ", Copywriting = " + Copywriting + ", status = " + status + ", userName = " + userName + ", userImage = " + userImage + ", flag = " + flag + ", ifLove = " + ifLove + ", ifCollect = " + ifCollect + ", collectCount = " + collectCount + ", msg = " + msg + "}";
    }
}
